﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addWork.aspx.cs" Inherits="ly.Web.Admin.addWork" %>

<%--fck 的注册--%>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="renderer" content="webkit">

    <title>新建作品</title>
    <link href="css/bootstrap.min.css?v=3.4.0" rel="stylesheet">
    <link href="font-awesome/css/font-awesome.css?v=4.3.0" rel="stylesheet">

    <!-- Morris -->
    <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">

    <!-- Gritter -->
    <link href="js/plugins/gritter/jquery.gritter.css" rel="stylesheet">
    
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=2.2.0" rel="stylesheet">
</head>
<body>
    <form id="form1" runat="server">
<%--        <div id="wrapper">--%>
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">

                        <div class="dropdown profile-element"> <span>
                            <img alt="image" class="img-circle" src="img/profile_small.jpg" />
                             </span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="index.aspx#">
                                <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">Beaut-ly</strong>
                             </span>  <span class="text-muted text-xs block">超级管理员 <b class="caret"></b></span> </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        
                                <li><a href="Login.aspx">安全退出</a>
                                </li>
                            </ul>
                        </div>
                    

                    </li>
                   <li >
                        <a href="Index.aspx"><span class="nav-label">主页</span></a>
                    </li>
                    <li>
                        <a href="User.aspx"><span class="nav-label">用户管理</span></a>
                    </li>                    
                    <li>
                        <a href="index.html#"> <span class="nav-label">新闻管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addnews.aspx">添加新闻</a>
                            </li>
                            <li><a href="newsManager.aspx">管理新闻</a>
                            </li>

                        </ul>
                    </li>
                    <li>
                        <a href="workManager.aspx"> <span class="nav-label">作品管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addWork.aspx">发布作品</a>
                            </li>
                            <li><a href="workManager.aspx">管理作品</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <a href="activityManager.aspx"><span class="nav-label">活动管理</span><span class="fa arrow"></span></a>
                        <ul class="nav nav-second-level">
                            <li><a href="addManager.aspx">添加新活动</a>
                            </li>
                            <li><a href="activityManager.aspx">编辑活动</a>
                            </li>
                        </ul>
                   </li>
               </ul>
            </div>
        </nav>

        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header">
                        <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li>
                          <span ><a href="#" title="返回首页"><i class="fa fa-home"></i></a>欢迎来到后台主页</span>
                        </li>
                        <li class="dropdown">
                            
                            <ul class="dropdown-menu dropdown-messages">
                              
                                <li class="divider"></li>
                          
                                <li class="divider"></li>
                               
                            </ul>
                        </li>
                        <li class="dropdown">
                            
                            <ul class="dropdown-menu dropdown-alerts">
                              
                                <li class="divider"></li>
                                
                                <li class="divider"></li>
                                
                            </ul>
                        </li>
                        <li>
                            <a href="Login.aspx">
                                <i class="fa fa-sign-out"></i> 退出
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="row  border-bottom white-bg dashboard-header">
                     <div>
                        作品名称：<asp:TextBox ID="txtworkname" runat="server"></asp:TextBox>
                        发布人姓名：<asp:TextBox ID="txtusername" runat="server"></asp:TextBox>
                        所属活动：<asp:DropDownList ID="ddlact" runat="server">
                             <asp:ListItem Value="13">aaa</asp:ListItem>
                             <asp:ListItem Value="14">bb</asp:ListItem>
                         </asp:DropDownList>
                        发布时间：
                        <script type="text/javascript" src="../../My97DatePicker/WdatePicker.js"></script>
                        <input id="startTime" runat="server" name="startTime" class="Wdate" type="text" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                    </div>
                    作品介绍：
                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server"  Height="300">
                    </FCKeditorV2:FCKeditor>
                        <div style="float:left">
                        作品图片：
                        <asp:FileUpload ID="FileUpload" runat="server" />
                        </div>
                        <div style="float:left">
                        <asp:Button ID="btn_upload" runat="server" Text="上传" onclick="btn_upload_Click" 
                        />
                        <asp:Label ID="lblmsg" runat="server" Text=" "></asp:Label>
                         
                        </div>
                    
                        <div style="float:right">
                        <p>
                        <asp:Button ID="btntianjia" runat="server" Text="添加作品" onclick="btntianjia_Click" 
                         />
                        </p>
                        </div>
        </div>
       </div>

    <!-- Mainly scripts -->
    <script src="js/jquery-2.1.1.min.js"></script>
    <script src="js/bootstrap.min.js?v=3.4.0"></script>
    <script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>

    <!-- Flot -->
    <script src="js/plugins/flot/jquery.flot.js"></script>
    <script src="js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="js/plugins/flot/jquery.flot.spline.js"></script>
    <script src="js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="js/plugins/flot/jquery.flot.pie.js"></script>

    <!-- Peity -->
    <script src="js/plugins/peity/jquery.peity.min.js"></script>
    <script src="js/demo/peity-demo.js"></script>

    <!-- Custom and plugin javascript -->
    <script src="js/hplus.js?v=2.2.0"></script>
    <script src="js/plugins/pace/pace.min.js"></script>

    <!-- jQuery UI -->
    <script src="js/plugins/jquery-ui/jquery-ui.min.js"></script>

    <!-- GITTER -->
    <script src="js/plugins/gritter/jquery.gritter.min.js"></script>

    <!-- EayPIE -->
    <script src="js/plugins/easypiechart/jquery.easypiechart.js"></script>

    <!-- Sparkline -->
    <script src="js/plugins/sparkline/jquery.sparkline.min.js"></script>

    <!-- Sparkline demo data  -->
    <script src="js/demo/sparkline-demo.js"></script>
    </form>
</body>
</html>
